package com.eastfair.venueservice.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import lombok.Data;
import lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.ToString;
import lombok.experimental.Accessors;
import com.eastfair.annotation.annotation.vo.VoInfo;
import com.eastfair.annotation.model.BaseVoGroupClass;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

import com.eastfair.vo.BaseVO;

/**
 * <p>
 * 实体类
 * 盘点记录明细
 * </p>
 *
 * @author linan
 * @since 2022-09-19
 */
@Data
@ApiModel(value = "ServiceInventoryCheckDetailVO", description = "盘点记录明细")
public class ServiceInventoryCheckDetailVO extends BaseVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @VoInfo(groups = {BaseVoGroupClass.all.class})
    private Long id;

    /**
     * 是否启用（确认状态）：1是 已确认；0否 未确认
     */
    @ApiModelProperty(value = "是否启用（确认状态）：1是 已确认；0否 未确认")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Integer isEnabled;
    /**
     * 是否删除：1是；0否
     */
    @ApiModelProperty(value = "是否删除：1是；0否")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Integer isDeleted;
    /**
     * 项目id
     */
    @ApiModelProperty(value = "项目id")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Long projectId;
    /**
     * 子系统id
     */
    @ApiModelProperty(value = "子系统id")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Long subsystemId;
    /**
     * 租户id
     */
    @ApiModelProperty(value = "租户id")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Long tenantId;
    /**
     * 盘点单号
     */
    @ApiModelProperty(value = "盘点单号")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @Size(max = 255, message = "盘点单号长度不能超过255")
    private String checkNo;
    /**
     * 库存编码
     */
    @ApiModelProperty(value = "库存编码")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @Size(max = 255, message = "库存编码长度不能超过255")
    private String inventoryCode;
    /**
     * 结束日期
     */
    @ApiModelProperty(value = "结束日期")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private LocalDateTime endDate;
    /**
     * 系统库存
     */
    @ApiModelProperty(value = "系统库存")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private BigDecimal systemNum;
    /**
     * 盘点库存
     */
    @ApiModelProperty(value = "盘点库存")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private BigDecimal checkNum;
    /**
     * 盘盈数量
     */
    @ApiModelProperty(value = "盘盈数量")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private BigDecimal surplusNum;
    /**
     * 盘亏数量
     */
    @ApiModelProperty(value = "盘亏数量")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private BigDecimal lossNum;

    /**
     * 服务名称
     */
    @ApiModelProperty(value = "服务名称")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String serviceName;

    /**
     * 服务分类id
     */
    @ApiModelProperty(value = "服务分类id")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String serviceCategoryName;

    /**
     * 服务规格名称
     */
    @ApiModelProperty(value = "服务规格名称")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String serviceSpecsName;
    /**
     * 计量单位 字典维护
     */
    @ApiModelProperty(value = "计量单位 字典维护")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @Size(max = 255, message = "计量单位 字典维护长度不能超过255")
    private String calUnit;
    /**
     * 服务编号
     */
    @ApiModelProperty(value = "服务编号")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @Size(max = 64, message = "服务编号长度不能超过64")
    private String serviceNo;
}
